'use strict';
exports = module.exports = function($scope) {
    $scope.weektimeData = [
        {"startime":"2018-03-05 16:30:00","endtime":"2018-03-05 20:30:00"},
        {"startime":"2018-03-05 01:30:00","endtime":"2018-03-05 02:00:00"},
        {"startime":"2018-03-07 01:30:00","endtime":"2018-03-07 23:00:00"},
        {"startime":"2018-03-08 01:30:00","endtime":"2018-03-08 05:30:00"},
        {"startime":"2018-03-08 13:00:00","endtime":"2018-03-08 19:30:00"},
        {"startime":"2018-03-09 07:30:00","endtime":"2018-03-09 11:00:00"},
        {"startime":"2018-03-10 17:30:00","endtime":"2018-03-10 22:30:00"},
        {"startime":"2018-03-10 00:30:00","endtime":"2018-03-10 13:00:00"},
        {"startime":"2018-03-11 04:30:00","endtime":"2018-03-11 17:00:00"},
        {"startime":"2018-03-11 18:00:00","endtime":"2018-03-11 20:00:00"}
    ];
    $("#getdata").click(function() {
        var backdata = juicy.getdata();
        console.log(backdata);
        $("#answer").html(JSON.stringify(backdata))
    })
}